home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / workbench / workbench.h < prev   
Encoding:
C/C++ Source or Header  |  1988-07-15  |  1.2 KB  |  59 lines

  1. #ifndef    WORKBENCH_WORKBENCH_H
  2. #define    WORKBENCH_WORKBENCH_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif    !EXEC_TYPES_H
  6. #ifndef    EXEC_NODES_H
  7. #include    "exec/nodes.h"
  8. #endif    !EXEC_NODES_H
  9. #ifndef    EXEC_LISTS_H
  10. #include    "exec/lists.h"
  11. #endif    !EXEC_LISTS_H
  12. #ifndef    EXEC_TASKS_H
  13. #include    "exec/tasks.h"
  14. #endif    !EXEC_TASKS_H
  15. #ifndef    INTUITION_INTUITION_H
  16. #include    "intuition/intuition.h"
  17. #endif    !INTUITION_INTUITION_H
  18. #define    WBDISK    1
  19. #define    WBDRAWER    2
  20. #define    WBTOOL    3
  21. #define    WBPROJECT    4
  22. #define    WBGARBAGE    5
  23. #define    WBDEVICE    6
  24. #define    WBKICK    7
  25. struct    DrawerData    {
  26. struct    NewWindow    dd_NewWindow;
  27. LONG    dd_CurrentX;
  28. LONG    dd_CurrentY;
  29. };
  30. #define    DRAWERDATAFILESIZE    (sizeof(    struct    DrawerData    ))
  31. struct    DiskObject    {
  32. UWORD    do_Magic;
  33. UWORD    do_Version;
  34. struct    Gadget    do_Gadget;
  35. UBYTE    do_Type;
  36. char    *    do_DefaultTool;
  37. char    **    do_ToolTypes;
  38. LONG    do_CurrentX;
  39. LONG    do_CurrentY;
  40. struct    DrawerData    *    do_DrawerData;
  41. char    *    do_ToolWindow;
  42. LONG    do_StackSize;
  43. };
  44. #define    WB_DISKMAGIC    0xe310
  45. #define    WB_DISKVERSION    1
  46. struct    FreeList    {
  47. WORD    fl_NumFree;
  48. struct    List    fl_MemList;
  49. };
  50. #define    MTYPE_PSTD    1
  51. #define    MTYPE_TOOLEXIT    2
  52. #define    MTYPE_DISKCHANGE    3
  53. #define    MTYPE_TIMER    4
  54. #define    MTYPE_CLOSEDOWN    5
  55. #define    MTYPE_IOPROC    6
  56. #define    GADGBACKFILL    0x0001
  57. #define    NO_ICON_POSITION    (0x80000000)
  58. #endif
  59.